ontabblur Event |
This event is fired when a tab loses the input focus.
Syntax
Inline HTML |
<div cordysType="wcp.library.ui.Tabs" id = "tabID" ontabblur="handler()" > ... </div> |
Event property |
tabID.ontabblur = handler |
Event Information
To invoke |
Switch focus to another tab or another application. |
Default Action |
Switches the focus away from the tab that fired the event and initiates any action associated with this event. |
Event Object Properties
Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.
Property |
Description |
---|---|
tabId |
Read-only. String that denotes the unique identifier of the tab that currently lost the input focus. |
selectedTabId |
Read-only. String that denotes the unique identifier of the tab that is selected and gets the input focus. |
returnValue |
Set to True by default. If set to False, then the event will be cancelled and newly selected tab will not get focus. |